package org.example.car.system.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName SYS_POST
 */
@TableName(value ="SYS_POST")
@Data
public class SysPost implements Serializable {
    /**
     * 
     */
    @TableId
    @ExcelProperty(value = "编号")    private Long postId;

    /**
     * 
     */
    @ExcelProperty(value = "岗位编码")
    private String postCode;

    /**
     * 
     */
    @ExcelProperty(value = "岗位名称")
    private String postName;

    /**
     * 
     */
    @ExcelProperty(value = "排序")
    private Long postSort;

    /**
     * 
     */
    @ExcelProperty(value = "状态")
    private Long status;

    /**
     * 
     */
    @ExcelProperty(value = "添加人")
    private String createBy;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    @ExcelProperty(value = "添加时间")
    private Date createTime;

    /**
     * 
     */
    private String updateBy;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date updateTime;

    /**
     * 
     */
    private String remark;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    @TableField(exist = false)
    private Integer pageNum;
    @TableField(exist = false)
    private Integer pageSize;
}